﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Collections.Specialized;

namespace Medianamik.UI.Lock
{
    // NOTE: If you change the interface name "ILockService" here, you must also update the reference to "ILockService" in App.config.
    [ServiceContract(Namespace = "")]
    public interface ILockService
    {
        [OperationContract]
        int Ping(Guid pObjectId);

        [OperationContract]
        int Lock(Guid pObjectId , int pUltimatum);

        [OperationContract]
        bool Unlock(Guid pObjectId);

       

    }
}
